package com.jxb.netty.network.netty.basic;

import io.netty.util.NettyRuntime;
import io.netty.util.internal.SystemPropertyUtil;

public class Test {

    public static void main(String[] args) {
//        int max = Math.max(1, SystemPropertyUtil.
//                getInt("io.netty.eventLoopThreads", NettyRuntime.availableProcessors() * 2));
//        System.out.println("---------------------"+max);
        System.out.println(SystemPropertyUtil.getInt("io.netty.selectorAutoRebuildThreshold", 512));
    }

}
